package com.zy.cat.entity.ad.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.zy.cat.entity.ad.CatAppAd;

public interface CatAppAdRepository extends JpaSpecificationExecutor<CatAppAd>,  JpaRepository<CatAppAd, String>{
	//查询广告控制状态
	CatAppAd findByCtypeAndCidAndVscode(int ctype,String cid,long vscode);
}
